﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;

namespace Perpus
{
    class DetailKembaliMap : ClassMap<DetailKembali>
    {
        public DetailKembaliMap()
        {
            Id(x => x.id_detail_kembali);
            References(x => x.id_pengembalian).Column("id_pengembalian");
            References( x => x.kode_buku).Column("kode_buku");
            Map(x => x.tgl_kembali);   
            Map(x => x.tgl_harus_kembali);
        }
    }
}
